package com.sample.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.sample.model.Project;
import com.sample.model.TimeEntry;
import com.trg.search.flex.FlexSearch;

public interface TimeService {
	public List<Project> fetchProjectsByUser(Long userID, Date rangeStart, Date rangeEnd);
	
	public List<TimeEntry> fetchTimeEntryByUser(Long userID, Date rangeStart, Date rangeEnd);
	
	public void batchUpdate(List<TimeEntry> update, List<TimeEntry> add, List<TimeEntry> delete);
	
	public Map<String, Object> searchTimeEntries(FlexSearch search);
}
